package Thread.demo2;

/**
 * 实现Runnable接口的测试
 * @author
 * @create 2018-10-09 15:13
 **/
public class ThreadTest {

    public static void main(String[] args) {
        MyThread2 myThread = new MyThread2();
        Thread thread1 = new Thread(myThread);
        Thread thread2 = new Thread(myThread);
        thread1.start();
        thread1.start();
        ThreadLocal local = new ThreadLocal();

    }
}
